<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="style.css" />
    <title>Cygwin in Git</title>
  </head>

<body>
<!--#include virtual="navbar.html" -->
<div id="main">
<!--#include virtual="top.html" -->
<h1>Cygwin in Git</h1>

<p>The sources to the core Cygwin libraries and utilities (Cygwin and
Newlib) are available via anonymous Git access.  If you don't know
what Git is, visit the <a href="https://git-scm.com/">Git home page</a>.
Coincidentally enough, Git comes with the Cygwin net release.</p>

<p>To access the repository from your system, use one of the following
commands:</p>

<dl>

<dt><b>Read-only web-based Git access</b></dt>
<dd>
  <p>You can use <a href="/git/gitweb.cgi?p=newlib-cygwin.git">the gitweb interface</a>.</p>
</dd>

<dt><b>Anonymous Git read-only access</b></dt>
<dd>
<pre>
git clone git://sourceware.org/git/newlib-cygwin.git
</pre>
</dd>

<dt><b>Git for developers with read/write access</b></dt>
<dd>
<pre>
git clone sourceware.org:/git/newlib-cygwin.git
</pre>
</dd>

<dt><b>Git-less Developer snapshots</b></dt>
<dd>
  <p>Developer snapshots are available via
  <a href="snapshots">the Cygwin developer snapshot page</a>.
  New snapshots are packaged and released from time to time as required for
  testing of new features.  The matching sources are provided alongside the
  binary tar archives.  This allows following development even if you're not
  comfortable with Git.
  </p>
</dd>

<dt><b>Git access to the website</b></dt>
<dd>
  <p>The cygwin.com website is under Git control, too.  You can view the
  website Git repo via
  <a href="git/gitweb.cgi?p=cygwin-htdocs.git">its gitweb interface</a>.
  </p>
  <p>
  Note that this is only the framework.
  <a href="git/gitweb.cgi?p=newlib-cygwin.git;a=tree;f=winsup/doc">User's Guide, API and FAQ</a>
  are maintained as part of the aforementioned Cygwin source Git repository.
  </p>
</dd>

</dl>

<p>Please refer to the <a href="faq/faq.html#faq.programming.building-cygwin">
FAQ</a>
for information on building Cygwin.</p>
<p>Hint: You need to configure and
build in a separate directory from the source.</p>

</div>
</body>
</html>
